<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">	
	<head>
		<title>CSS Writing Modes Test: text-orientation - sideways-left</title>
		<link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com" />
		<link rel="help" title="5.1. Orienting Text: the‘text-orientation’property" href="http://www.w3.org/TR/css-writing-modes-3/#text-orientation" />
		<link rel="match" href="reftest/text-orientation-013-ref.xht" />
		<meta http-equiv="content-language" content="en" />
		<meta name="flags" content="ahem" />
		<meta name="assert" content="This test checks that 'text-orientation: sideways-left' causes text to be set as if in a horizontal layout, but rotated 90°counter-clockwise, in vertical writing modes. It's effective to verify 1.block flow direction and 2.inline direction, but not effective to verify 3.glyph orientation." />		
		<style type="text/css">
				div
				{
		            background: pink;
		            border: 1px solid black;
		            color: blue;
		            font: 20px/1 Ahem;
		            height: 3em;
		            margin: 10px;        
		            width: 3em;
		            white-space: pre;
        		}
		        #test_ahem
		        {
					text-orientation:  sideways-left;			/* This property to be tested */
					-webkit-text-orientation: sideways-left;
					writing-mode: vertical-rl;
					-webkit-writing-mode: vertical-rl;
		        }
		        #control_ahem
		        {
		            writing-mode: horizontal-tb;
		            -webkit-writing-mode: horizontal-tb;
		        }
		</style>
	</head>
	<body>
		<!--
			Here, the "Ahem" sub-test is in place and checks 1.block flow direction and 2.inline direction, 
			but not cheks 3.glyph orientation.
		-->
		<p>Test passes if a pair of rectangles is <strong>identical</strong> including <strong>layout</strong>.</p>
		<div id="test_ahem">123
 56
7  </div>
		<div id="control_ahem"> 63
 52
7 1</div>
	</body>
</html>
